package com.niiwoo.civet.user.service;

import com.niiwoo.civet.user.dto.request.UserAuthorizationInfoDTO;
import com.niiwoo.civet.user.dto.response.UserAuthorizationInfoResponseDTO;

import java.util.List;
import java.util.Set;

/**
 * @Author: wuke
 * @Description:
 * @Date: Created in 16:00 2017/11/16
 */
public interface UserAuthorizationInfoDubboService {

    /**
     * 获取用户授权相关信息
     *
     * @param userId
     * @return
     */
    public UserAuthorizationInfoResponseDTO getUserAuthorizationInfo(String userId);
    
    public List<UserAuthorizationInfoResponseDTO> queryUserAuthorizationInfoListByUserIdSet(Set<String> userIdSet);

    /**
     * 法大大授权
     *
     * @param userId
     * @return
     */
    public String fadadaAuth(String userId);


    /**
     * 企业法大大授权
     *
     * @param orgId
     * @return
     */
    String fadadaEnterAuth(String orgId);


    /**
     * 卡牛法大大授权
     * @param userId
     * @return
     */
    String cardniuFadadaAuth(String userId);


    /**
     * 查询用户授权信息
     * @param userId
     * @return
     */
    UserAuthorizationInfoDTO selectByUserId(String userId);
}
